package cn.haiway.drools.execute.config;

import org.kie.api.KieServices;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Haiway  on 2019/4/19
 */
@Configuration
public class DroolsConfig {

    @Bean
    KieServices kieServices(){
        KieServices ks = KieServices.Factory.get();
        return ks;
    }
}
